using LF.Shared.Dtos.Input;
using LF.Shared.Dtos.Out;

namespace LF.Application.Services.interfaces
{
    public interface IRoleService : IApplicationService
    {
        Result<RoleSearchOut> List(RoleSearch search);
        Result RealDelete(Guid id);
        Result<RoleOut> Get(Guid id);
        Result Edit(RoleOut role);
        Result Menus(List<RoleMenuOut> roles);
        Result<List<RoleMenuOut>> GetMenus(Guid id);
        Result<List<RoleOut>> GetRoles();
        Result UpdateRole(Guid id, RoleOut role);
    }
}